﻿using NPOI.SS.Formula.Functions;
using OSSUtility.Communicate;
using OSSUtility.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using static Ozone.Models.KeyPoint;
using static SharpDX.Utilities;

namespace Ozone.Views.SystemCenter
{
    /// <summary>
    /// UCSystemCenterMain.xaml 的交互逻辑
    /// </summary>
    public partial class UCSystemCenterMain : UserControl
    {
        protected Session session_;
     
   
        //声明按钮对象。
        private Button btn;

        public UCSystemCenterMain()
        {
            InitializeComponent();

            string com = "Com21";

            session_ = new Session(com, 115200);
            session_.ConnSrv();

        }

      

    }
}